package com.ceba.test.modules.usermanage.service;

import com.ceba.base.web.service.IBaseService;
import com.ceba.test.modules.usermanage.dao.GSignatureMemoryDao;
import com.ceba.test.modules.usermanage.entity.GSignatureMemory;

public class GSignatureMemoryService extends IBaseService {

    private GSignatureMemoryDao gSignatureMemoryDao;

    public boolean addGSignature(GSignatureMemory gSignatureMemory)throws Exception{
        return gSignatureMemoryDao.addGSignature(gSignatureMemory);
    }

    public boolean updateGSignature(GSignatureMemory gSignatureMemory)throws Exception{
        return gSignatureMemoryDao.updateGSignature(gSignatureMemory);
    }

    public GSignatureMemory queryGSignature(String userId,String corFlag)throws Exception{
        return gSignatureMemoryDao.queryGSignature(userId,corFlag);
    }

    public GSignatureMemoryDao getgSignatureMemoryDao() {
        return gSignatureMemoryDao;
    }

    public void setgSignatureMemoryDao(GSignatureMemoryDao gSignatureMemoryDao) {
        this.gSignatureMemoryDao = gSignatureMemoryDao;
    }
}
